import React, { Component } from 'react';
import "../styles/MyHeader.scss"
import pic from '../assets/01-首页-快捷入口_top.png'

class MyHeader extends Component {
    render() {
        return (
            <div className="header">
                <div className="img">
                    <img src={pic} alt="" />
                </div>
                <div className='input-box'>
                    <input type="text" placeholder='搜索商品' />
                    <span>搜索</span>
                </div>
            </div>
        );
    }
}

export default MyHeader;